﻿<%@ Page Language="C#" MasterPageFile="~/admin/MasterPage.master" AutoEventWireup="true" CodeFile="Suasanpham.aspx.cs" Inherits="admin_Suasanpham" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="menuPlaceHolder" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="contentPlaceHolder" Runat="Server">
<div style="padding:12px 12px 12px 12px;">
<div>
        <div class="title" style="font-weight: bold; font-size: 15pt; color: teal; font-style: italic">
            Sửa Sản Phẩm</div>                  
        <div>
          <table width="100%" cellspacing="1" cellpadding="3" border="0" bgcolor="#cccccc"> 
                 <tr>
                    <td style="width:21%; color: gray; font-style: italic;">
                        Mã Sản Phẩm</td>
                    <td style="width:69%; height: 26px;"> <asp:TextBox ID="txt_masp" runat="server" Width="176px"></asp:TextBox></td>
                </tr> 
                 <tr>
                    <td style="width:21%; color: gray; font-style: italic;">Tên Sản Phẩm</td>
                    <td style="width:69%; height: 26px;"><asp:TextBox ID="txt_TenSP" runat="server" Width="264px"></asp:TextBox></td>
                </tr> 
                <tr>
                    <td style="width:21%; color: gray; font-style: italic;">
                        Loại mặt hàng</td>
                    <td style="width:69%; height: 26px;">
                     <asp:TextBox ID="txt_loaimh" runat="server" Width="176px"></asp:TextBox>
                        </td>
                </tr>   
              <tr>
                  <td style="width: 21%; color: gray; font-style: italic">
                        Doanh nghiệp</td>
                  <td style="width: 69%; height: 26px">
                   <asp:TextBox ID="txt_doanhnghiep" runat="server" Width="176px"></asp:TextBox>
                      </td>
              </tr>
                   <tr>
                    <td style="width:21%; color: gray; font-style: italic;">
                        Điểm Đến</td>
                    <td style="width:69%; height: 26px;">
                         <asp:TextBox ID="txt_dd" runat="server" Width="176px"></asp:TextBox>;</td>
                </tr>   
              <tr>
                  <td style="width: 21%; color: gray; font-style: italic; height: 26px">
                      Giá Gốc</td>
                  <td style="width: 69%; height: 26px">
                      <asp:TextBox ID="txt_giagoc" runat="server" Width="176px"></asp:TextBox></td>
              </tr>
              <tr>
                  <td style="width: 21%; color: gray; font-style: italic; height: 26px">
                      Giá Bán</td>
                  <td style="width: 69%; height: 26px">
                      <asp:TextBox ID="txt_giaban" runat="server" Width="176px"></asp:TextBox></td>
              </tr>
              <tr>
                  <td style="width: 21%; color: gray; font-style: italic; height: 26px">
                      Số Lượng Phiếu</td>
                  <td style="width: 69%; height: 26px">
                      <asp:TextBox ID="txt_soluongban" runat="server" Width="136px"></asp:TextBox></td>
              </tr>
              <tr>
                  <td style="width: 21%; color: gray; font-style: italic; height: 26px">
                      Số Lượng Phiếu Bán</td>
                  <td style="width: 69%; height: 26px">
                      <asp:TextBox ID="txt_soluongtoida" runat="server" Width="136px"></asp:TextBox></td>
              </tr>
             
              <tr>
                  <td style="width: 21%; color: gray; font-style: italic; height: 26px">
                      Chiết Khấu</td>
                  <td style="width: 69%; height: 26px">
                      <asp:TextBox ID="txt_chietkhau" runat="server" Width="40px"></asp:TextBox>
                      <asp:Label ID="Label1" runat="server" Font-Bold="True" Font-Italic="True" Font-Size="9pt"
                          ForeColor="#C00000" Text="(%)"></asp:Label></td>
              </tr>
              <tr>
                  <td style="width: 21%; color: gray; font-style: italic; height: 26px">
                      Thời gian bắt đầu</td>
                  <td style="width: 69%; height: 26px">
                      <asp:TextBox ID="txt_ngaysudung" runat="server" Width="176px"></asp:TextBox></td>
              </tr>
              <tr>
                  <td style="width: 21%; color: gray; font-style: italic; height: 26px">
                      Thời gian kết thúc</td>
                  <td style="width: 69%; height: 26px">
                      <asp:TextBox ID="txt_ngayhethan" runat="server" Width="176px"></asp:TextBox></td>
              </tr>
              <tr>
                  <td style="width: 21%; color: gray; font-style: italic; height: 26px">
                      Tình Trạng</td>
                  <td style="width: 69%; height: 26px">
                      <asp:DropDownList ID="ddl_tinhtrang" runat="server" Width="112px">
                      </asp:DropDownList></td>
              </tr>
              <tr>
                  <td style="width: 21%; color: gray; font-style: italic; height: 26px">
                      Mô Tả chi tiết</td>
                  <td style="width: 69%; height: 26px"> <asp:TextBox ID="txt_chitiet" runat="server" Width="176px"></asp:TextBox></td>
                      
                  
              </tr>
              <tr>
                  <td style="width: 21%; color: gray; font-style: italic; height: 26px">
                      Điều kiện</td>
                  <td style="width: 69%; height: 26px"> <asp:TextBox ID="txt_dieukien" runat="server" Width="176px"></asp:TextBox>
                     
                  </td>
              </tr>
                   <tr>
                    <td style="width:21%; color: gray; font-style: italic;">Hình minh họa</td>
                    <td style="width:69%">
                        <asp:Image ID="img_HinhMinhHoa" runat="server" />
                    </td>
                </tr>   
                  <tr>
                    <td style="width:21%; color: gray; font-style: italic; height: 26px;"></td>
                    <td style="width:69%; height: 26px;">
                        <asp:FileUpload ID="fu_HinhMinhHoa" runat="server" />
                    </td>
                </tr>   
                <tr>
                    <td style="width:21%; color: gray; font-style: italic;"></td>
                    <td style="width:69%"><asp:Button ID="btn_Update" runat="server" Text="Update"  Height="32px" Width="120px" OnClick="btn_Update_Click"/></td>
                </tr>            
            </table>
        </div>
 </div>
 </div>
</asp:Content>

